package com.hckj.medical.utils;

import lombok.Data;

import java.io.Serializable;

/**
 * 响应类
 */
@Data
public class R implements Serializable {
    private Integer code;
    private Object data;
    private String msg;
    public R(){}
    public R(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
    public R(Integer code,Object data,String msg){
        this.code = code;
        this.data = data;
        this.msg = msg;
    }
}